package com.ddwl.schema.vo.goods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * @author wenbin
 * @version 1.0.0
 */
@Setter
@Getter
@ApiModel(description = "收藏Vo")
public class CollectVo {

    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("商品id")
    private String itemId;

    @ApiModelProperty("skuId")
    private String skuId;

    @ApiModelProperty("barcode")
    private String barcode;

    @ApiModelProperty("商品名称")
    private String itemName;

    @ApiModelProperty("零售价")
    private BigDecimal retailPrice;

    @ApiModelProperty("秒杀价")
    private BigDecimal seckillPrice;

    @ApiModelProperty("券后价")
    private BigDecimal originPrice;

    @ApiModelProperty("主图")
    private String itemImage;

    @ApiModelProperty("目标类型:0类目分润，1商品分润，2平台分润")
    private Integer targetType;

    @ApiModelProperty("佣金比例")
    private BigDecimal ratio;
    
    @ApiModelProperty("商品预估佣金")
    private BigDecimal itemCommission;

    @ApiModelProperty("佣金方式(0价格百分比1固定金额)")
    private Integer profitType;


    @ApiModelProperty("创建时间")
    private Instant gmtCreated;
}
